<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core">
    <head>
        <link rel="stylesheet" type="text/css" href="css/template.css"/>
        <Title><!-- Insert title --></Title>
    </head>
    <body>
        <h:panelGroup id="pageBox">
            <h:panelGroup id="menuBox">
                        menu
            </h:panelGroup>
            <h:form>
                    Login <h:inputText label="Login" value="#{loginController.formUserName}" required="true" requiredMessage="Login is required"/>
                    Password <h:inputSecret label="Password" value="#{loginController.formUserPassword}" required="true" requiredMessage="Password is required"/> 
                <h:commandButton action="#{loginController.moveToMainPage()}"/>
            </h:form>
        </h:panelGroup>
    </body>
</html>